<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<jsp:include page="../include/admin/adminHeader.jsp" />
<jsp:include page="../include/admin/adminNavigator.jsp" />
<title>编辑分类</title>

<div class="workingArea">
	<ol class="breadcrumb">
		<li> <a href="admin_category_list">所有分类</a></li>
		<li> <a href="admin_property_list?category.id=${property.category.id}">${property.category.name}</a></li>
		<li class="active">编辑属性</li>
	</ol>
	
	<div class="panel panel-warning editDiv">
      <div class="panel-heading">编辑属性</div>
      <div class="panel-body">
            <form method="post" id="editForm" action="admin_property_update">
			    <table class="editTable">
			        <tr>
			            <td>属性名称</td>
			            <td><input id="name" name="property.name" value="${property.name}"
			                type="text" class="form-control"></td>
			        </tr>
			        <tr class="submitTR">
			            <td colspan="2" align="center">
			            <input type="hidden" name="property.id" value="${property.id}">
			            <input type="hidden" name="property.category.id" value="${property.category.id}">
			            <button type="submit" class="btn btn-success">提 交</button></td>
			        </tr>
			    </table>
			</form>
      </div>
    </div>   
</div>